﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Email.aspx.cs" Inherits="Main_Email" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        #Header 
        {
            margin: 0; padding: 0;
            height: 90px;
            border-bottom:solid 1px black;
            background-color:white;    
        }
        #MessageInfo
        {
            margin: 0; padding: 0;
            overflow:auto;
            padding-top:13px;
        }
        #ComposeButtons
        {
            margin: 0; padding: 0;
            overflow:auto;
            padding-top:5px;
            padding-left:65px;
            padding-bottom:5px;
        }
        #ComposeButtons table tr td
        {
            padding-left:2px;
        }
        .MessageButton
        {
           color:black;
           font-family:Arial;
           font-size:11px;
           text-align:center;
        }
        .TextBox
        {
            background-color:#ffe4b5;
        }
    </style>
</head>
<body onload="document.Compose.txtTo.focus();">
    <form id="Compose" name="Compose" runat="server">
    <div id="Header"> <img src="images/email_compose_header.gif"/> </div>
    
    <div id="MessageInfo">
        <table border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td style="padding-left:15px; padding-bottom:7px;">
                From:
            </td> 
            <td style="padding-left:5px; width:50px; padding-bottom:7px;">
                <asp:TextBox ID="txtFrom" runat="server" Width="390px" CssClass="TextBox"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="padding-left:15px; padding-bottom:7px;">
                To:
            </td> 
            <td style="padding-left:5px; width:50px; padding-bottom:7px;">
                <asp:TextBox ID="txtTo" runat="server" Width="390px" CssClass="TextBox"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="padding-left:15px; padding-bottom:7px;">
                Cc:
            </td>
            <td style="padding-left:5px; width:50px; padding-bottom:7px;">
                <asp:TextBox ID="txtCc" runat="server" Width="390px" CssClass="TextBox"></asp:TextBox>
            </td>    
        </tr>
        <tr>
            <td style="padding-left:15px; padding-bottom:7px;">
                Subject:
            </td>
            <td style="padding-left:5px; width:50px; padding-bottom:7px;">
                <asp:TextBox ID="txtSubject" runat="server" Width="390px" CssClass="TextBox"></asp:TextBox>
            </td>    
        </tr>
        </table>
        
        
    </div>
    <div id="ComposeButtons">
    <table border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td>
                <asp:Button ID="btnSend" runat="server" Text="Send" onclick="btnSend_Click" CssClass="MessageButton" />
            </td>
            <td>
                <asp:Button ID="btnSaveDraft" runat="server" Text="Save Draft" onclick="btnSend_Click" CssClass="MessageButton"/>
            </td>
            <td>
                <asp:Button ID="btnSaveBackup" runat="server" Text="Save Backup" onclick="btnSend_Click" CssClass="MessageButton"/>
            </td>
            <td>
                <asp:Button ID="btnClearMessage" runat="server" Text="Clear Message" onclick="btnSend_Click" CssClass="MessageButton"/>
            </td>
        </tr>
    </table>
    </div>
    <div>
    <table border="0" cellpadding="0" cellspacing="0">
    
        <tr>
            <td colspan="2">
                <asp:TextBox ID="txtBody" runat="server" Height="100px" Rows="10" Width="500px"></asp:TextBox>
            </td>
        </tr>
          <tr>
            <td>
                <asp:FileUpload ID="uploadedFile" runat="server" />
            </td>
        </tr>
    </table>
    </div>
    </form>
</body>
</html>
